package com.webbei.HAO.action;

import java.util.List;

import com.opensymphony.xwork2.ActionSupport;
import com.webbei.HAO.service.ChSer;
import com.webbei.pojo.Customer;

public class ConfirmUser extends ActionSupport {
	private ChSer ser;
	private String str;
	private String username;

	public String execute() {
		str = "true";
		if (ser.customercheck2(username) != 0) {
			str = "false";
		}
		return SUCCESS;
	}

	public void setSer(ChSer ser) {
		this.ser = ser;
	}

	public String getStr() {
		return str;
	}

	public void setUsername(String username) {
		this.username = username;
	}

}
